import { createBrowserHistory } from "history";

// 1. 创建自定义history对象
// h5的history模式(不带#)
const customHistory = createBrowserHistory()
// hash模式: createHashHistory
// const customHistory  = createHashHistory()

// 2. 导出自定义 history对象
export default customHistory